<#assign t=JspTaglibs["/META-INF/tld/tiles-jsp.tld"] />
<#assign s=JspTaglibs["/META-INF/tld/struts-tags.tld"] />
<@s.url value="" var="cntxpth"/>
<@s.set name="contextPath" value="#cntxpth"  />
<@s.set name="templateName" value="#templateName"/>
<@s.set name="resourcePath">/${contextPath}templates/${templateName}</@s.set>

<h2>Contact list</h2>
<@s.iterator value="contacts">
    <@s.div cssClass="box-1">
        <@s.div cssClass="grid_1"><img src="${img}"/></@s.div>
        <@s.div cssClass="grid_6"><@s.a href="link"><@s.property value="value"/></@s.a></@s.div>
        <@s.div cssClass="grid_1">
        <@s.url namespace="/contact" action="removeContact" var="removeLink">
            <@s.param name="contact.id" value="id"/>
        </@s.url>
            <@s.a href="%{removeLink}">
            <img src="${resourcePath}/images/note_deny.png" alt="Remove contact"/>
            </@s.a>
        </@s.div>
    </@s.div>
</@s.iterator>
<@s.div cssClass="clear"></@s.div>
